
/***************************************************************************************************
 *
 * Project: HZFlashCards
 *
 * Class: HanZiDisplayPanelTest
 *
 * File name: HanZiDisplayPanelTest.java
 *
 * Apr 25, 2008
 *
 **************************************************************************************************/

package com.eastmountain.chinese.gui;

import junit.framework.TestCase;

public class HanZiDisplayPanelTest extends TestCase {
    
    private HanZiDisplayPanel hanZiDisplayPanel;
    
    public HanZiDisplayPanelTest( String name ) {
        super( name );
    }

    protected void setUp() throws Exception {
        super.setUp();
        
        hanZiDisplayPanel
            = HanZiDisplayPanel.createAndShowGUI();
        
    }

    protected void tearDown() throws Exception {
        super.tearDown();
    }

    public void testHanZiDisplayPanel() {
        
        //hanZiDisplayPanel
        //    = HanZiDisplayPanel.createAndShowGUI();
        
        assertNotNull( "Failed to create HanZiDisplayPanel",
                       hanZiDisplayPanel );
        
    }

    public void testPreviousLesson() {
        
        hanZiDisplayPanel.previousLesson();
        
        try {
            Thread.sleep( 5000 );
        } catch ( InterruptedException e ) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        
        assert( 1 == 1 );
        
    }

    public void testPrevious() {
        
    }

    public void testNext() {
        
        hanZiDisplayPanel.next();
        
        try {
            Thread.sleep( 5000 );
        } catch ( InterruptedException e ) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        
        assert( 1 == 1 );
        
    }

    public void testNextLesson() {
        
    }

    public void testFlip() {
        
    }

    public void testShuffle() {
        
    }

    public void testQuestion() {
        
    }

}
